﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vds2465Control
{
    public class SInterfaceFactory : ISInterfaceFactory
    {
        public ISInterface CreateSInterface(eSInterface sinterface)
        {
            switch (sinterface)
            {
                case eSInterface.S1:
                    throw new NotImplementedException();
                case eSInterface.S2:
                    throw new NotImplementedException();
                case eSInterface.S3:
                    throw new NotImplementedException();
                case eSInterface.S4:
                    return new SInterface4();
                default:
                    throw new NotImplementedException();
            }
        }
    }
}
